
    <div class="col-md-2">
    {if session('admin_id')}
        {volist name="left" id="left"}
            <ul class="nav nav-pills nav-stacked">
                {if $left.fid == 0}
                    <li class="nav-header h3">{$left.title}</li>
                {/if}
                {if $left.fid <> 0}
                    <li><a href="{$left.name}.html"><span class="glyphicon glyphicon-cog">{$left.title}</span></a></li>
                {/if}
            </ul>
        {/volist}
    {/if}

    {if session('user_id')}
        <ul class="nav nav-pills nav-stacked">
            {volist name="left" id="left"}
            {if $left.title == '用户管理'}
            <li class="nav-header h3">管理中心</li>
            {/if}
            {if $left.fid == 4 && $left.title != '用户列表'}
            <li><a href="{$left.name}.html"><span class="glyphicon glyphicon-cog">{$left.title}</span></a></li>
            {/if}
            {/volist}
            <li><a href="{:url('user/index')}"><span class="glyphicon glyphicon-cog">商品列表</span></a></li>
        </ul>

    {/if}

    </div>